﻿using System;

namespace enyo
{
    /// <summary>
    /// A control designed to present a horizontal layout of SlidingView controls, which are panel controls that can slide one on top of another.
    /// The user can drag the views left and right and they'll stay connected.
    /// If a view is moved to the far left, it will cover any views to the left of it.
    /// SlidingViews can have explicit width or be flexed. 
    /// In either case, they are displayed in SlidingPane's client region, which is an HFlexBox. 
    /// The view on the far right is special--it will always behave as flexed unless its fixedWidth property is set to true.
    /// </summary>
    public class SlidingPane : Pane
    {
        public bool MultiView { get; set; }
        public int MultiViewMinWidth { get; set; }
        public bool CanAnimate { get; set; }
        public int DismissDistance { get; set; }


        public EnyoEvent<Control, Control> onSlideComplete;
        //TODO:sender,view
    }
}
